html {
	overflow: -moz-scrollbars-vertical;
	overflow-y: scroll;
	overflow-x: auto;
	height: 100%;
}

body {
	padding: 0px;
	margin-top: 0px;
	margin-left: 0px;
	margin-bottom: 0px;
	margin-right: 0px;
	height: 100%;
}

/*
This is menubar, including the owera icon.
*/
#sidebar {
	min-width: 110px;
	max-width: 110px;
	vertical-align: top;
}


/*
This is the sidebar menu, margined below the icon.
*/
.menu {
	width: 110px;
	margin-top: 20px;
}

/*
This is the main view, including the header boxes.
*/
#mainview {
	vertical-align: top;
	width: 100%;
	height: 100%;
}

#header_table {
	margin-top: 2px;
	height: 28px;
	margin-bottom: 2px;
}

.headerboxtitle {
	height: 28px;
	padding-top: 5px;
}

.headerboxstatus {
	float: left;
	height: 28px;
}

/*
CSS FOR ROUNDED CORNERS
START
*/
.rtop,.rbottom {
	display: block;
}

.rtop *,.rbottom * {
	display: block;
	height: 1px;
	overflow: hidden;
}

.r1 {
	margin: 0 5px
}

.r2 {
	margin: 0 3px
}

.r3 {
	margin: 0 2px
}

.r4 {
	margin: 0 1px;
	height: 2px
}

/*
CSS FOR ROUNDED CORNERS
END
*/
.upgrade_search {
	padding: 0;
	min-width: 200px;
	min-height: 100px;
	overflow: none;
	visibility: hidden;
	position: absolute;
}

.hoverpopup {
	position: absolute;
	width: 200px;
}

.hoverpopup table {
	width: 200px;
}

/*
CSS FOR BODY
START
*/
#bodycontent {
	padding: 12px;
	min-height: 930px;
}

#bodycontent h2 {
	padding: 20px;
}

#logondiv {
	padding: 20px;
	width: 200px;
}

#bodylogon {
	margin-top: 20px;
	margin-right: 15px;
	height: 250px;
	padding: 20px;
}

#redblock {
	padding-top: 20px;
	margin-top: 20px;
	height: 300px;
}

#about {
	padding: 0;
}

.center_box {
	margin: 0 auto;
}

/**
 * POPUP CONTAINER STYLES
 */
#popupMask {
	position: absolute;
	z-index: 200;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	display: none;
}

#popupContainer {
	position: absolute;
	z-index: 201;
	top: 0px;
	left: 0px;
	display: none;
	padding: 0px;
}

#popupFrame {
	margin: 0px;
	width: 100%;
	height: 100%;
	position: relative;
	z-index: 202;
}

#popupTitleBar {
	background-color: #486CAE;
	color: #ffffff;
	height: 20px;
	border-bottom: 2px solid #000000;
	border-top: 1px solid #78A3F2;
	border-left: 1px solid #78A3F2;
	border-right: 1px solid #204095;
}

#popupTitle {
	float: left;
	font-size: 1.1em;
}

#popupControls {
	float: right;
	cursor: pointer;
	cursor: hand;
}

#unitkickmessage {
	font-weight: bold;
	margin-left: 10px;
}

/*
CSS FOR BODY
END
*/

/* --------------- Tables for syslog ---*/
table.syslog {
	border-collapse: collapse;
}

table.syslog th,table.syslog td {
	padding: 5px;
	padding-right: 20px !important;
	border: 1px solid;
}

table.syslog th {
	font-size: small;
	text-align: left;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
}

table.syslog caption {
	font-size: small;
	text-align: left;
	padding-bottom: 5px;
}

/* --------------- Tables for unit jobs ---*/
table.unitjobs {
	border-collapse: collapse;
	margin-top: 5px;
}

table.unitjobs th,table.unitjobs td {
	padding: 5px;
	border: 3px solid;
}

table.unitjobs th {
	font-size: small;
	text-align: left;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
}

table.unitjobs caption {
	font-size: small;
	font-weight: bold;
	text-align: left;
	padding-bottom: 5px;
}

/* --------------- Tables in the dashboard ---*/
td.dashboard table th {
	text-align: left;
	width: 150px;
}

/* --------------- Tables for parameters ---*/
table.parameter {
	width: 100%;
	margin-top: 20px;
	border-collapse: collapse;
}

.parameterinput {
	width: 100%;
}

table.parameter th,table.parameter td {
	padding: 5px;
	border: 3px solid;
}

table.parameter td input[type="text"] {
	border: 1px solid;
}

table.parameter th {
	font-size: small;
	text-align: left;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
}

table.parameter caption {
	font-weight: bold;
	text-align: left;
	padding-bottom: 5px;
}

/* ------------------------- Forms for unit details ----*/
form.unit fieldset {
	margin: 0 0 1em 0;
	border: 1px solid;
	padding-top: 5px;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
}

form.unit {
	margin-left: 20px;
}

form.unit label {
	font-weight: bold;
	font-size: small;
}

form.unit label.fixedwidth {
	display: block;
	width: 200px;
	float: left;
}

form.unit .buttonarea input {
	font-weight: bold;
	padding: 5px;
	border: 1px solid;
}

form.unit .buttonarea {
	text-align: center;
	padding: 4px;
}

/* To avoid line breaking in tables */
table.syslog td div {
	white-space: nowrap;
}

/* Set default text input length for tables with id "input" */
table[id="input"] input[type="text"] {
	width: 200px;
}

/* Calendar css */
.calendar {
	position: relative;
	display: none;
	border-top: 2px solid #fff;
	border-right: 2px solid #000;
	border-bottom: 2px solid #000;
	border-left: 2px solid #fff;
	cursor: default;
}

.ui-tabs .ui-tabs-hide {
	display: none;
}

.calendar table {
	border-top: 1px solid #000;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #000;
	cursor: default;
}

/* Header part -- contains navigation buttons and day names. */
.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */
	text-align: center;
	padding: 1px;
	border-top: 1px solid #fff;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	border-left: 1px solid #fff;
}

.calendar thead .title { /* This holds the current "month, year" */
	padding: 1px;
	border: 1px solid #000;
	text-align: center;
}

.calendar thead .name { /* Cells <TD> containing the day names */
	border-bottom: 1px solid #000;
	padding: 2px;
	text-align: center;
}

.calendar thead .hilite {
	/* How do the buttons in header appear when hover */
	border-top: 2px solid #fff;
	border-right: 2px solid #000;
	border-bottom: 2px solid #000;
	border-left: 2px solid #fff;
	padding: 0px;
}

.calendar thead .active { /* Active (pressed) buttons in header */
	padding: 2px 0px 0px 2px;
	border-top: 1px solid #000;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #000;
}

/* The body part -- contains all the days in month. */
.calendar tbody .day { /* Cells <TD> containing month days dates */
	width: 2em;
	text-align: right;
	padding: 2px 4px 2px 2px;
}

.calendar table .wn {
	padding: 2px 3px 2px 2px;
	border-right: 1px solid #000;
}

.calendar tbody td.hilite { /* Hovered cells <TD> */
	padding: 1px 3px 1px 1px;
	border-top: 1px solid #fff;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	border-left: 1px solid #fff;
}

.calendar tbody td.active { /* Active (pressed) cells <TD> */
	padding: 2px 2px 0px 2px;
	border-top: 1px solid #000;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #000;
}

.calendar tbody td.selected { /* Cell showing selected date */
	border-top: 1px solid #000;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #000;
	padding: 2px 2px 0px 2px;
}

.calendar tbody .emptycell {
	/* Empty cells (the best is to hide them) */
	visibility: hidden;
}

.calendar tbody .emptyrow {
	/* Empty row (some months need less than 6 rows) */
	display: none;
}

.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */
	padding: 1px;
	border: 1px solid #000;
	text-align: center;
}

.calendar tfoot .hilite { /* Hover style for buttons in footer */
	border-top: 1px solid #fff;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	border-left: 1px solid #fff;
	padding: 1px;
}

.calendar tfoot .active {
	/* Active (pressed) style for buttons in footer */
	padding: 2px 0px 0px 2px;
	border-top: 1px solid #000;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #000;
}

/* Combo boxes (menus that display months/years for direct selection) */
.calendar .combo {
	position: absolute;
	display: none;
	width: 4em;
	top: 0px;
	left: 0px;
	cursor: default;
	border-top: 1px solid #fff;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	border-left: 1px solid #fff;
	padding: 1px;
	z-index: 100;
}

.calendar .combo .label,.calendar .combo .label-IEfix {
	text-align: center;
	padding: 1px;
}

.calendar .combo .label-IEfix {
	width: 4em;
}

.calendar .combo .active {
	padding: 0px;
	border-top: 1px solid #000;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	border-left: 1px solid #000;
}

.calendar td.time {
	border-top: 1px solid #000;
	padding: 1px 0px;
	text-align: center;
}

.calendar td.time .hour,.calendar td.time .minute,.calendar td.time .ampm
	{
	padding: 0px 3px 0px 4px;
	border: 1px solid #889;
}

.calendar td.time .ampm {
	text-align: center;
}

.calendar td.time .colon {
	padding: 0px 2px 0px 3px;
	font-weight: bold;
}